package com.ruoyi.zhgd.service;

import com.ruoyi.zhgd.domain.NLaboratoryMechanicsWDetail;
import com.ruoyi.zhgd.domain.vo.NLaboratoryMechanicsWDetailVo;
import com.ruoyi.zhgd.domain.bo.NLaboratoryMechanicsWDetailBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 万能机详情表信息(1,2,4标)Service接口
 *
 * @author tll
 * @date 2023-09-15
 */
public interface INLaboratoryMechanicsWDetailService {

    /**
     * 查询万能机详情表信息(1,2,4标)
     */
    NLaboratoryMechanicsWDetailVo queryById(Long id);

    /**
     * 查询万能机详情表信息(1,2,4标)列表
     */
    TableDataInfo<NLaboratoryMechanicsWDetailVo> queryPageList(NLaboratoryMechanicsWDetailBo bo, PageQuery pageQuery);

    /**
     * 查询万能机详情表信息(1,2,4标)列表
     */
    List<NLaboratoryMechanicsWDetailVo> queryList(NLaboratoryMechanicsWDetailBo bo);

    /**
     * 新增万能机详情表信息(1,2,4标)
     */
    Boolean insertByBo(NLaboratoryMechanicsWDetailBo bo);

    /**
     * 修改万能机详情表信息(1,2,4标)
     */
    Boolean updateByBo(NLaboratoryMechanicsWDetailBo bo);

    /**
     * 校验并批量删除万能机详情表信息(1,2,4标)信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    /**
     * 万能机设备详情表信息(1,2,4标)分页
     * @param bo
     * @param pageQuery
     * @return
     */
    TableDataInfo<NLaboratoryMechanicsWDetailVo> page(NLaboratoryMechanicsWDetailBo bo, PageQuery pageQuery);

    List<NLaboratoryMechanicsWDetail> selectWDetail(Integer id);
}
